package org.liang.base.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageInfo<T> {
    //总条数
    private Long total = 0L;
    //获得的数据
    private List<T> data = new ArrayList<>();
}
